package com.scx.constant;

public class RedisConstants {
    public static final Long CACHE_NULL_TTL = 2L;

    public static final Long CACHE_BOOK_TTL = 30L;
    public static final String CACHE_BOOK_KEY = "cache:shop:";

    public static final String LOCK_BOOK_KEY = "lock:shop:";
    public static final Long LOCK_BOOK_TTL = 10L;

    public static final String SECKILL_STOCK_KEY = "seckill:stock:";
    public static final String BLOG_LIKED_KEY = "blog:liked:";
    public static final String FEED_KEY = "feed:";
    public static final String SHOP_GEO_KEY = "shop:geo:";
    public static final String USER_SIGN_KEY = "sign:";
}
